<?php

namespace App\Model;


/**
 * App\DeviceSignalLog
 *
 * @property int $id
 * @property int $device_id
 * @property int $signal 信号
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 */
class DeviceSignalLog extends Model
{
    public bool $timestamps = true;
    protected ?string $table = 'device_signal_logs';
    //

    protected array $fillable = [
        'signal'
    ];

    public function device()
    {
        return $this->belongsTo(Device::class);
    }

}
